package me.itsoo.artemis.framework.repository.mapper.resource;

/**
 * AbstractResource
 *
 * @author zxy
 * @version 0.0.1
 * @since 2023/5/17
 */
public abstract class AbstractResource {

    /**
     * 获取资源命令
     *
     * @return String
     */
    public abstract String getResourceCommand();

    /**
     * 获取资源参数
     *
     * @return Object[]
     */
    public Object[] getResourceArgs() {
        return new Object[0];
    }

    @Override
    public String toString() {
        return this.getResourceCommand();
    }
}
